#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<string.h>
struct stu
{
	char name[50];
	int age;
};
int main1()
{
	struct stu s1;
	strcpy(s1.name, "rose");
	 s1.age = 18;
	struct stu s2;
	s2 = s1;
	printf("s2.name = %s, s2.age = %d\n", s2.name, s2.age);
	memcpy(&s2, &s1, sizeof(s1));
	printf("s2.name = %s, s2.age = %d\n", s2.name, s2.age);
	return 0;
}